
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt"	uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html>
<html lang="zh-CN">
  <head>
  
  </head>

  <body>
  
	<div class="container main-content">
	
	  <div class="panel panel-default arizona-panel arizona-panel-layout">
		  
		   
		  
		<div class="panel-body">        

    <!-- ================ submenu ================ -->
        
      
        <!-- ================ right panel ================ -->

        <div class="col-xs-10 arizona-panel-layout-right">

           
            <div class="col-md-12 form-horizontal">
            <div class="arizona-breadcrumb-wrapper">
                <ul class="nav nav-pills arizona-breadcrumb-nav">
                    <li class="active"><a data-toggle="tab" href="#basicInfo">基本信息</a></li>
                    <li><font color="red" size="3">${message}</font></li>
                    <a href="javascript:history.back(-1)" style="position:absolute; right:80px; top:0px; margin-top: 10px; margin-right: 10px">返回</a>
                    <a href="javascript:void(0)" style="position:absolute; right:0px; top:0px; margin-top: 10px; margin-right: 10px" onclick="test()">确认修改</a>
                </ul>
				<form:form class="form-horizontal" action="${ctx }/userInfo/update" method="post" name="userUpdateFrom" modelAttribute="user">
                <div class="tab-content">
                    <div id="basicInfo" class="tab-pane active">
                        
                            <div class="modal-body">
                                <div class="form-group demo2do-form-group">
                                      <label class="col-xs-2 control-label">Uid</label>
                                      <div class="col-xs-2 pull-left">
                                            <p class="form-control-static">${user.uid }</p>
                                            <form:hidden path="uid"/>
                                      </div>
                                      
                                </div>
                                
                                <div class="form-group demo2do-form-group">
                                      <label class="col-xs-2 control-label">姓名</label>
                                      <div class="col-xs-2 pull-left">
                                             <p class="form-control-static"> <form:input path="name" size='20'/>  </p>
                                      </div>
                                      <label class="col-xs-2 control-label">年级</label>
                                      <div class="col-xs-6 pull-left">
                                          <p class="form-control-static"> <form:input path="grade" size='20'/>  </p>
                                      </div>
                                  </div>
                                  <div class="form-group demo2do-form-group">    
                                      <label class="col-xs-2 control-label">邮箱</label>
                                      <div class="col-xs-2 pull-left">
                                            <p class="form-control-static"> <form:input path="email" size='20'/> </p>
                                      </div>
                                      
                                      <div class="col-xs-6 pull-left">
                                           <label class="col-xs-2 control-label">手机号</label>
                                             <p class="form-control-static"> <form:input path="cellPhone" size='20'/>  </p>
                                      </div>
                                  </div>
                                      
                                  <div class="form-group demo2do-form-group">
                                      <label class="col-xs-2 control-label">qq</label>
                                      <div class="col-xs-2 pull-left">
                                            <p class="form-control-static"> <form:input path="QQ" size='20'/>  </p>
                                      </div>
                                
                                      <label class="col-xs-2 control-label">idCard</label>
                                      <div class="col-xs-2 pull-left">
                                         <p class="form-control-static">  <form:input path="idCard" size='20'/>　</p>                         
                                      </div>
                                      
                                   </div>
                                  <div class="form-group demo2do-form-group">
                                      
                                       <label class="col-xs-2 control-label">passId</label>
                                      <div class="col-xs-2 pull-left">
                                            <p class="form-control-static"><form:input path="passid" size='20'/></p>
                                      </div>
                                  </div>
                                
                            </div>
                    </div><!-- basicInfo pane end-->

                 </div>
                 </form:form>
               </div>
           </div>
         </div>
     </div>
   </div>
 </div>         
                                    
            

  	
  	
  
	
  <script type="text/javascript"> 
    function test(){
     	document.userUpdateFrom.submit();;
     	alert("修改请求已提交！") ;
    }
  </script>  
  </body>
  
</html>
